package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.SysPdf;
import com.ruoyi.system.mapper.SysPdfMapper;
import com.ruoyi.system.service.ISysPdfService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SysPdfServiceImpl implements ISysPdfService {

    @Autowired
    private SysPdfMapper mapper;
    @Override
    public SysPdf selectPdfById(Long pdfId) {

        return mapper.selectPdfById(pdfId);
    }

    @Override
    public List<SysPdf> selectPdfList(SysPdf pdf) {
        return mapper.selectPdfList(pdf);
    }

    @Override
    public int insertPdf(SysPdf pdf) {
        return mapper.insertPdf(pdf);
    }

    @Override
    public int updatePdf(SysPdf pdf) {
        return mapper.updatePdf(pdf);
    }

    @Override
    public int deletePdfById(Long pdfId) {
        return mapper.deletePdfById(pdfId);
    }

    @Override
    public int deletePdfByIds(Long[] pdfIds) {
        return mapper.deletePdfByIds(pdfIds);
    }
}
